/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  riskVarCfg
    /// </summary>
    public class RiskVarCfg
    {

        ///<summary>
        /// 规则id
        ///</summary>
        public int? Id{ get; set; }
        ///<summary>
        /// WAF实例id
        ///</summary>
        public string WafInstanceId{ get; set; }
        ///<summary>
        /// 域名
        ///</summary>
        public string Domain{ get; set; }
        ///<summary>
        /// 规则名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// desc
        ///</summary>
        public string Desc{ get; set; }
        ///<summary>
        /// 0-使用中 1用-禁
        ///</summary>
        public int? Disable{ get; set; }
        ///<summary>
        /// 时间编码
        ///</summary>
        public string EventCode{ get; set; }
        ///<summary>
        /// 变量类型 template \|  userDefine \|  online \| offline
        ///</summary>
        public string VarType{ get; set; }
        ///<summary>
        /// 消耗时间
        ///</summary>
        public string Cost{ get; set; }
        ///<summary>
        /// 输出
        ///</summary>
        public string Output{ get; set; }
        ///<summary>
        /// 属性
        ///</summary>
        public string Property{ get; set; }
        ///<summary>
        /// 持续时间，单位为秒
        ///</summary>
        public string Dura{ get; set; }
        ///<summary>
        /// 逻辑  and \| or
        ///</summary>
        public string Logic{ get; set; }
        ///<summary>
        /// 规则
        ///</summary>
        public List<RiskVarRuleCfg> Rules{ get; set; }
        ///<summary>
        /// 参数获取位置
        ///</summary>
        public string Pos{ get; set; }
        ///<summary>
        /// 参数的key
        ///</summary>
        public string Key{ get; set; }
    }
}
